package oo.day06;

/**
 * @author DBX
 * @effect
 * @date 2021/8/28 0028 - 11:40
 */
public class OutClass3 {

    public void fun(){
        int a = 0 ;
        final int a1 = 1;
        class Inner{
            String name = "xyy";
            int b = 10;
            int c = a;
            int d = a1;
        }
        Inner inner = new Inner();
        System.out.println(inner.name);
        System.out.println(inner.b);
        System.out.println(inner.c);
        System.out.println(inner.d);
    }

    public static void main(String[] args) {
        OutClass3 o3 = new OutClass3();
        o3.fun();
    }
}
